package com.yj.cmp.sdk.fusioncompute.compute.host.vo;

import com.google.gson.annotations.SerializedName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author huangp
 * @create 2021-09-01 10:50
 */
@NoArgsConstructor
@Data
public class hostStorageVo {


    @SerializedName("datastores")
    private List<DatastoresDTO> datastores;
    @SerializedName("total")
    private Integer total;

    @NoArgsConstructor
    @Data
    public static class DatastoresDTO {
        @SerializedName("actualCapacityGB")
        private Integer actualCapacityGB;
        @SerializedName("actualFreeSizeGB")
        private Integer actualFreeSizeGB;
        @SerializedName("capacityGB")
        private Integer capacityGB;
        @SerializedName("clusterSize")
        private Integer clusterSize;
        @SerializedName("description")
        private String description;
        @SerializedName("dsLockType")
        private Integer dsLockType;
        @SerializedName("freeSizeGB")
        private Integer freeSizeGB;
        @SerializedName("hosts")
        private List<String> hosts;
        @SerializedName("isThin")
        private Boolean isThin;
        @SerializedName("name")
        private String name;
        @SerializedName("refreshTime")
        private String refreshTime;
        @SerializedName("status")
        private String status;
        @SerializedName("storageType")
        private String storageType;
        @SerializedName("storageUnits")
        private List<StorageUnitsDTO> storageUnits;
        @SerializedName("suIdList")
        private List<?> suIdList;
        @SerializedName("suName")
        private String suName;
        @SerializedName("suUrn")
        private String suUrn;
        @SerializedName("thinRate")
        private Integer thinRate;
        @SerializedName("uri")
        private String uri;
        @SerializedName("urn")
        private String urn;
        @SerializedName("usedSizeGB")
        private Integer usedSizeGB;
        @SerializedName("version")
        private String version;

        @NoArgsConstructor
        @Data
        public static class StorageUnitsDTO {
            @SerializedName("sdName")
            private String sdName;
            @SerializedName("suName")
            private String suName;
            @SerializedName("urn")
            private String urn;
        }
    }
}
